package com.thingsgrid.device.entity;


import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * 实体类
 */

@Data
@Document(collection = "product_type")
@ApiModel(value = "ProductType对象", description = "ProductType对象")
public class ProductType implements Serializable {

	/**
	 * 主键
	 */
	@Field("product_type_id")
	private String productTypeId;
	/**
	 * 产品类别
	 */
	@Field("product_type")
	private String productType;
}
